import request from '@/utils/request'

// 查询GdPayWxRefund列表
export function listGdPayWxRefund(query) {
    return request({
        url: '/api/v1/gdpaywxrefund',
        method: 'get',
        params: query
    })
}

// 查询GdPayWxRefund详细
export function getGdPayWxRefund (ID) {
    return request({
        url: '/api/v1/gdpaywxrefund/' + ID,
        method: 'get'
    })
}


// 新增GdPayWxRefund
export function addGdPayWxRefund(data) {
    return request({
        url: '/api/v1/gdpaywxrefund',
        method: 'post',
        data: data
    })
}

// 修改GdPayWxRefund
export function updateGdPayWxRefund(data) {
    return request({
        url: '/api/v1/gdpaywxrefund/'+data.ID,
        method: 'put',
        data: data
    })
}

// 删除GdPayWxRefund
export function delGdPayWxRefund(data) {
    return request({
        url: '/api/v1/gdpaywxrefund',
        method: 'delete',
        data: data
    })
}

